package com.zbkj.dal.base.enums;

import com.zbkj.dal.base.enums.show.EnumInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserStatus implements EnumInterface<String> {

    NORMAL("NORMAL", "正常"),
    CLOSE("CLOSE", "禁用"),
    BLACKLIST("BLACKLIST", "黑名单");

    private final String code;

    private final String desc;

    @Override
    public String code() {
        return getCode();
    }

    @Override
    public String desc() {
        return getDesc();
    }
}
